<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<a href="test-servlet">TestServlet1</a><br/>
<a href="test-servlet2">TestServlet2</a>
<form action="infoservlet" method="post">
    用户信息</br>
    姓名:<input type="text" name="username"></br>
    爱好:
    <input type="checkbox" name="hobby" value="玩手机">玩手机
    <input type="checkbox" name="hobby" value="吃东西">吃东西</br>
    性别:
    <input type="radio" name="gender" value="0">男
    <input type="radio" name="gender" value="1">女</br>

    <input type="submit" value="提交">
</form>
<a href="requestscopeservlet">requestscopeservlet</a>
</body>
</html>